package com.esms.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Action entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Action implements java.io.Serializable {

	// Fields

	private Integer actionid;
	private String actionname;
	private Integer actioncolumnid;
	private String viewmode;
	private Set groups = new HashSet(0);

	// Constructors

	/** default constructor */
	public Action() {
	}

	/** minimal constructor */
	public Action(String actionname) {
		this.actionname = actionname;
	}

	/** full constructor */
	public Action(String actionname, Integer actioncolumnid, String viewmode,
			Set groups) {
		this.actionname = actionname;
		this.actioncolumnid = actioncolumnid;
		this.viewmode = viewmode;
		this.groups = groups;
	}

	// Property accessors

	public Integer getActionid() {
		return this.actionid;
	}

	public void setActionid(Integer actionid) {
		this.actionid = actionid;
	}

	public String getActionname() {
		return this.actionname;
	}

	public void setActionname(String actionname) {
		this.actionname = actionname;
	}

	public Integer getActioncolumnid() {
		return this.actioncolumnid;
	}

	public void setActioncolumnid(Integer actioncolumnid) {
		this.actioncolumnid = actioncolumnid;
	}

	public String getViewmode() {
		return this.viewmode;
	}

	public void setViewmode(String viewmode) {
		this.viewmode = viewmode;
	}

	public Set getGroups() {
		return this.groups;
	}

	public void setGroups(Set groups) {
		this.groups = groups;
	}

}